package com.guagua.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guagua.system.entity.Dict;

import java.util.List;
import java.util.Map;

public interface DictService extends IService<Dict> {
    
    /**
     * 根据字典类型查询字典数据
     */
    List<Dict> getDictsByType(String dictType);
    
    /**
     * 获取所有字典数据，按类型分组
     */
    Map<String, List<Dict>> getAllDictMap();
} 